package com.manager.model;

import com.manager.common.utils.DateTools;

import java.math.BigDecimal;

public class LinuxTcpInfo {

    private String protocolName;

    private BigDecimal recv;

    private BigDecimal send;

    private String localAddress;

    private String remoteAddress;

    private String state;

    private String pid;

    private String showTime = DateTools.getCurrentDateString("yyyy-MM-dd HH:mm:ss.SSS");

    public String getProtocolName() {
        return protocolName;
    }

    public void setProtocolName(String protocolName) {
        this.protocolName = protocolName;
    }

    public BigDecimal getRecv() {
        return recv;
    }

    public void setRecv(BigDecimal recv) {
        this.recv = recv;
    }

    public BigDecimal getSend() {
        return send;
    }

    public void setSend(BigDecimal send) {
        this.send = send;
    }

    public String getLocalAddress() {
        return localAddress;
    }

    public void setLocalAddress(String localAddress) {
        this.localAddress = localAddress;
    }

    public String getRemoteAddress() {
        return remoteAddress;
    }

    public void setRemoteAddress(String remoteAddress) {
        this.remoteAddress = remoteAddress;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getShowTime() {
        return showTime;
    }

    public void setShowTime(String showTime) {
        this.showTime = showTime;
    }
}
